import React, { Component } from 'react'
import { Row,Col } from 'antd';
import './index.css';
export default class Title extends Component {
    render() {
        const { title1,title2 } = this.props
        return (
            <div className="title-style">
                <Row>
                    <Col span={4}>
                        <span>{title1}</span>/
                        <span>{title2}</span>
                    </Col>
                </Row>
            </div>
        )
    }
}
